package com.vivame.mag; class CatalogAdapter { void a() { int a;
a=0;// .class public Lcom/vivame/mag/CatalogAdapter;
a=0;// .super Landroid/widget/BaseAdapter;
a=0;// .source "CatalogAdapter.java"
a=0;// 
a=0;// 
a=0;// # instance fields
a=0;// .field private chapterNameArray:[Ljava/lang/String;
a=0;// 
a=0;// .field private vmag:Lcom/vivame/mag/Vmag1;
a=0;// 
a=0;// 
a=0;// # direct methods
a=0;// .method public constructor <init>(Lcom/vivame/mag/Vmag1;[Ljava/lang/String;)V
a=0;//     .locals 1
a=0;// 
a=0;//     .prologue
a=0;//     .line 20
a=0;//     invoke-direct {p0}, Landroid/widget/BaseAdapter;-><init>()V
a=0;// 
a=0;//     .line 17
a=0;//     #p0=(Reference,Lcom/vivame/mag/CatalogAdapter;);
a=0;//     const/4 v0, 0x0
a=0;// 
a=0;//     #v0=(Null);
a=0;//     iput-object v0, p0, Lcom/vivame/mag/CatalogAdapter;->vmag:Lcom/vivame/mag/Vmag1;
a=0;// 
a=0;//     .line 18
a=0;//     const/4 v0, 0x0
a=0;// 
a=0;//     new-array v0, v0, [Ljava/lang/String;
a=0;// 
a=0;//     #v0=(Reference,[Ljava/lang/String;);
a=0;//     iput-object v0, p0, Lcom/vivame/mag/CatalogAdapter;->chapterNameArray:[Ljava/lang/String;
a=0;// 
a=0;//     .line 21
a=0;//     iput-object p1, p0, Lcom/vivame/mag/CatalogAdapter;->vmag:Lcom/vivame/mag/Vmag1;
a=0;// 
a=0;//     .line 22
a=0;//     iput-object p2, p0, Lcom/vivame/mag/CatalogAdapter;->chapterNameArray:[Ljava/lang/String;
a=0;// 
a=0;//     .line 23
a=0;//     return-void
a=0;// .end method
a=0;// 
a=0;// 
a=0;// # virtual methods
a=0;// .method public getCount()I
a=0;//     .locals 1
a=0;// 
a=0;//     .prologue
a=0;//     .line 26
a=0;//     iget-object v0, p0, Lcom/vivame/mag/CatalogAdapter;->chapterNameArray:[Ljava/lang/String;
a=0;// 
a=0;//     #v0=(Reference,[Ljava/lang/String;);
a=0;//     array-length v0, v0
a=0;// 
a=0;//     #v0=(Integer);
a=0;//     return v0
a=0;// .end method
a=0;// 
a=0;// .method public getItem(I)Ljava/lang/Object;
a=0;//     .locals 1
a=0;// 
a=0;//     .prologue
a=0;//     .line 30
a=0;//     invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
a=0;// 
a=0;//     move-result-object v0
a=0;// 
a=0;//     #v0=(Reference,Ljava/lang/Integer;);
a=0;//     return-object v0
a=0;// .end method
a=0;// 
a=0;// .method public getItemId(I)J
a=0;//     .locals 2
a=0;// 
a=0;//     .prologue
a=0;//     .line 34
a=0;//     int-to-long v0, p1
a=0;// 
a=0;//     #v0=(LongLo);v1=(LongHi);
a=0;//     return-wide v0
a=0;// .end method
a=0;// 
a=0;// .method public getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
a=0;//     .locals 8
a=0;// 
a=0;//     .prologue
a=0;//     const/16 v7, 0x10
a=0;// 
a=0;//     #v7=(PosByte);
a=0;//     const/4 v4, 0x1
a=0;// 
a=0;//     #v4=(One);
a=0;//     const/4 v2, -0x2
a=0;// 
a=0;//     #v2=(Byte);
a=0;//     const/4 v6, 0x0
a=0;// 
a=0;//     #v6=(Null);
a=0;//     const/4 v5, 0x0
a=0;// 
a=0;//     .line 38
a=0;//     #v5=(Null);
a=0;//     move-object v0, p2
a=0;// 
a=0;//     #v0=(Reference,Landroid/view/View;);
a=0;//     check-cast v0, Landroid/widget/RelativeLayout;
a=0;// 
a=0;//     .line 40
a=0;//     if-nez v0, :cond_2
a=0;// 
a=0;//     .line 41
a=0;//     iget-object v0, p0, Lcom/vivame/mag/CatalogAdapter;->vmag:Lcom/vivame/mag/Vmag1;
a=0;// 
a=0;//     iget v0, v0, Lcom/vivame/mag/Vmag1;->catalogItemHeight:I
a=0;// 
a=0;//     #v0=(Integer);
a=0;//     const/4 v1, -0x1
a=0;// 
a=0;//     #v1=(Byte);
a=0;//     if-ne v0, v1, :cond_1
a=0;// 
a=0;//     .line 43
a=0;//     new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;
a=0;// 
a=0;//     #v0=(UninitRef,Landroid/widget/RelativeLayout$LayoutParams;);
a=0;//     invoke-direct {v0, v2, v2}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V
a=0;// 
a=0;//     .line 47
a=0;//     :goto_0
a=0;//     #v0=(Reference,Landroid/widget/RelativeLayout$LayoutParams;);v1=(Integer);
a=0;//     new-instance v1, Landroid/widget/RelativeLayout;
a=0;// 
a=0;//     #v1=(UninitRef,Landroid/widget/RelativeLayout;);
a=0;//     iget-object v2, p0, Lcom/vivame/mag/CatalogAdapter;->vmag:Lcom/vivame/mag/Vmag1;
a=0;// 
a=0;//     #v2=(Reference,Lcom/vivame/mag/Vmag1;);
a=0;//     iget-object v2, v2, Lcom/vivame/mag/Vmag1;->cont:Landroid/app/Activity;
a=0;// 
a=0;//     invoke-direct {v1, v2}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V
a=0;// 
a=0;//     .line 48
a=0;//     #v1=(Reference,Landroid/widget/RelativeLayout;);
a=0;//     new-instance v2, Landroid/widget/TextView;
a=0;// 
a=0;//     #v2=(UninitRef,Landroid/widget/TextView;);
a=0;//     iget-object v3, p0, Lcom/vivame/mag/CatalogAdapter;->vmag:Lcom/vivame/mag/Vmag1;
a=0;// 
a=0;//     #v3=(Reference,Lcom/vivame/mag/Vmag1;);
a=0;//     iget-object v3, v3, Lcom/vivame/mag/Vmag1;->cont:Landroid/app/Activity;
a=0;// 
a=0;//     invoke-direct {v2, v3}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V
a=0;// 
a=0;//     .line 52
a=0;//     #v2=(Reference,Landroid/widget/TextView;);
a=0;//     invoke-virtual {v1, v7}, Landroid/widget/RelativeLayout;->setGravity(I)V
a=0;// 
a=0;//     .line 53
a=0;//     invoke-virtual {v2, v4}, Landroid/widget/TextView;->setSingleLine(Z)V
a=0;// 
a=0;//     .line 54
a=0;//     sget-object v3, Landroid/text/TextUtils$TruncateAt;->END:Landroid/text/TextUtils$TruncateAt;
a=0;// 
a=0;//     invoke-virtual {v2, v3}, Landroid/widget/TextView;->setEllipsize(Landroid/text/TextUtils$TruncateAt;)V
a=0;// 
a=0;//     .line 55
a=0;//     invoke-virtual {v2, v7}, Landroid/widget/TextView;->setGravity(I)V
a=0;// 
a=0;//     .line 57
a=0;//     invoke-virtual {v1, v2, v0}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V
a=0;// 
a=0;//     .line 60
a=0;//     invoke-virtual {v1, v2}, Landroid/view/View;->setTag(Ljava/lang/Object;)V
a=0;// 
a=0;//     move-object v0, v1
a=0;// 
a=0;//     move-object p2, v1
a=0;// 
a=0;//     move-object v1, v2
a=0;// 
a=0;//     .line 65
a=0;//     :goto_1
a=0;//     #v2=(Conflicted);v3=(Conflicted);
a=0;//     iget-object v2, p0, Lcom/vivame/mag/CatalogAdapter;->vmag:Lcom/vivame/mag/Vmag1;
a=0;// 
a=0;//     #v2=(Reference,Lcom/vivame/mag/Vmag1;);
a=0;//     iget v2, v2, Lcom/vivame/mag/Vmag1;->catalogItemBgResId:I
a=0;// 
a=0;//     #v2=(Integer);
a=0;//     invoke-virtual {v0, v2}, Landroid/widget/RelativeLayout;->setBackgroundResource(I)V
a=0;// 
a=0;//     .line 67
a=0;//     iget-object v2, p0, Lcom/vivame/mag/CatalogAdapter;->vmag:Lcom/vivame/mag/Vmag1;
a=0;// 
a=0;//     #v2=(Reference,Lcom/vivame/mag/Vmag1;);
a=0;//     iget v2, v2, Lcom/vivame/mag/Vmag1;->catalogItemMargin:I
a=0;// 
a=0;//     #v2=(Integer);
a=0;//     iget-object v3, p0, Lcom/vivame/mag/CatalogAdapter;->vmag:Lcom/vivame/mag/Vmag1;
a=0;// 
a=0;//     #v3=(Reference,Lcom/vivame/mag/Vmag1;);
a=0;//     iget v3, v3, Lcom/vivame/mag/Vmag1;->catalogItemMargin:I
a=0;// 
a=0;//     #v3=(Integer);
a=0;//     invoke-virtual {v1, v2, v6, v3, v6}, Landroid/widget/TextView;->setPadding(IIII)V
a=0;// 
a=0;//     .line 68
a=0;//     iget-object v2, p0, Lcom/vivame/mag/CatalogAdapter;->vmag:Lcom/vivame/mag/Vmag1;
a=0;// 
a=0;//     #v2=(Reference,Lcom/vivame/mag/Vmag1;);
a=0;//     iget v2, v2, Lcom/vivame/mag/Vmag1;->catalogItemTextColor:I
a=0;// 
a=0;//     #v2=(Integer);
a=0;//     invoke-virtual {v1, v2}, Landroid/widget/TextView;->setTextColor(I)V
a=0;// 
a=0;//     .line 69
a=0;//     iget-object v2, p0, Lcom/vivame/mag/CatalogAdapter;->vmag:Lcom/vivame/mag/Vmag1;
a=0;// 
a=0;//     #v2=(Reference,Lcom/vivame/mag/Vmag1;);
a=0;//     iget-object v2, v2, Lcom/vivame/mag/Vmag1;->catalogItemTextType:Landroid/graphics/Typeface;
a=0;// 
a=0;//     iget-object v3, p0, Lcom/vivame/mag/CatalogAdapter;->vmag:Lcom/vivame/mag/Vmag1;
a=0;// 
a=0;//     #v3=(Reference,Lcom/vivame/mag/Vmag1;);
a=0;//     iget v3, v3, Lcom/vivame/mag/Vmag1;->catalogItemTextTypeFace:I
a=0;// 
a=0;//     #v3=(Integer);
a=0;//     invoke-virtual {v1, v2, v3}, Landroid/widget/TextView;->setTypeface(Landroid/graphics/Typeface;I)V
a=0;// 
a=0;//     .line 71
a=0;//     iget-object v2, p0, Lcom/vivame/mag/CatalogAdapter;->vmag:Lcom/vivame/mag/Vmag1;
a=0;// 
a=0;//     iget v2, v2, Lcom/vivame/mag/Vmag1;->catalogItemTextSize:I
a=0;// 
a=0;//     #v2=(Integer);
a=0;//     int-to-float v2, v2
a=0;// 
a=0;//     #v2=(Float);
a=0;//     invoke-virtual {v1, v4, v2}, Landroid/widget/TextView;->setTextSize(IF)V
a=0;// 
a=0;//     .line 72
a=0;//     iget-object v2, p0, Lcom/vivame/mag/CatalogAdapter;->chapterNameArray:[Ljava/lang/String;
a=0;// 
a=0;//     #v2=(Reference,[Ljava/lang/String;);
a=0;//     aget-object v2, v2, p1
a=0;// 
a=0;//     #v2=(Null);
a=0;//     invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
a=0;// 
a=0;//     .line 74
a=0;//     iget-object v2, p0, Lcom/vivame/mag/CatalogAdapter;->vmag:Lcom/vivame/mag/Vmag1;
a=0;// 
a=0;//     #v2=(Reference,Lcom/vivame/mag/Vmag1;);
a=0;//     iget-object v2, v2, Lcom/vivame/mag/Vmag1;->pageNumberArray:[Ljava/lang/String;
a=0;// 
a=0;//     array-length v2, v2
a=0;// 
a=0;//     #v2=(Integer);
a=0;//     if-le v2, p1, :cond_0
a=0;// 
a=0;//     .line 75
a=0;//     iget-object v2, p0, Lcom/vivame/mag/CatalogAdapter;->vmag:Lcom/vivame/mag/Vmag1;
a=0;// 
a=0;//     #v2=(Reference,Lcom/vivame/mag/Vmag1;);
a=0;//     iget-object v2, v2, Lcom/vivame/mag/Vmag1;->pageNumberArray:[Ljava/lang/String;
a=0;// 
a=0;//     aget-object v2, v2, p1
a=0;// 
a=0;//     .line 76
a=0;//     #v2=(Null);
a=0;//     iget-object v3, p0, Lcom/vivame/mag/CatalogAdapter;->vmag:Lcom/vivame/mag/Vmag1;
a=0;// 
a=0;//     #v3=(Reference,Lcom/vivame/mag/Vmag1;);
a=0;//     iget-object v3, v3, Lcom/vivame/mag/Vmag1;->readAheadArrayForCatalog:[Z
a=0;// 
a=0;//     if-eqz v3, :cond_0
a=0;// 
a=0;//     iget-object v3, p0, Lcom/vivame/mag/CatalogAdapter;->vmag:Lcom/vivame/mag/Vmag1;
a=0;// 
a=0;//     iget-object v3, v3, Lcom/vivame/mag/Vmag1;->readAheadArrayForCatalog:[Z
a=0;// 
a=0;//     array-length v3, v3
a=0;// 
a=0;//     #v3=(Integer);
a=0;//     invoke-static {v2}, Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer;
a=0;// 
a=0;//     move-result-object v4
a=0;// 
a=0;//     #v4=(Reference,Ljava/lang/Integer;);
a=0;//     invoke-virtual {v4}, Ljava/lang/Integer;->intValue()I
a=0;// 
a=0;//     move-result v4
a=0;// 
a=0;//     #v4=(Integer);
a=0;//     if-lt v3, v4, :cond_0
a=0;// 
a=0;//     .line 77
a=0;//     iget-object v3, p0, Lcom/vivame/mag/CatalogAdapter;->vmag:Lcom/vivame/mag/Vmag1;
a=0;// 
a=0;//     #v3=(Reference,Lcom/vivame/mag/Vmag1;);
a=0;//     iget-object v3, v3, Lcom/vivame/mag/Vmag1;->readAheadArrayForCatalog:[Z
a=0;// 
a=0;//     invoke-static {v2}, Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer;
a=0;// 
a=0;//     move-result-object v2
a=0;// 
a=0;//     #v2=(Reference,Ljava/lang/Integer;);
a=0;//     invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I
a=0;// 
a=0;//     move-result v2
a=0;// 
a=0;//     #v2=(Integer);
a=0;//     add-int/lit8 v2, v2, -0x1
a=0;// 
a=0;//     aget-boolean v2, v3, v2
a=0;// 
a=0;//     .line 78
a=0;//     #v2=(Boolean);
a=0;//     if-eqz v2, :cond_3
a=0;// 
a=0;//     iget-object v2, p0, Lcom/vivame/mag/CatalogAdapter;->vmag:Lcom/vivame/mag/Vmag1;
a=0;// 
a=0;//     #v2=(Reference,Lcom/vivame/mag/Vmag1;);
a=0;//     iget-boolean v2, v2, Lcom/vivame/mag/Vmag1;->isOnline:Z
a=0;// 
a=0;//     #v2=(Boolean);
a=0;//     if-eqz v2, :cond_3
a=0;// 
a=0;//     iget-object v2, p0, Lcom/vivame/mag/CatalogAdapter;->vmag:Lcom/vivame/mag/Vmag1;
a=0;// 
a=0;//     #v2=(Reference,Lcom/vivame/mag/Vmag1;);
a=0;//     iget-boolean v2, v2, Lcom/vivame/mag/Vmag1;->has6102:Z
a=0;// 
a=0;//     #v2=(Boolean);
a=0;//     if-eqz v2, :cond_3
a=0;// 
a=0;//     .line 79
a=0;//     invoke-virtual {v0}, Landroid/widget/RelativeLayout;->getResources()Landroid/content/res/Resources;
a=0;// 
a=0;//     move-result-object v0
a=0;// 
a=0;//     iget-object v2, p0, Lcom/vivame/mag/CatalogAdapter;->vmag:Lcom/vivame/mag/Vmag1;
a=0;// 
a=0;//     #v2=(Reference,Lcom/vivame/mag/Vmag1;);
a=0;//     iget v2, v2, Lcom/vivame/mag/Vmag1;->mCatalotFreeImgId:I
a=0;// 
a=0;//     #v2=(Integer);
a=0;//     invoke-virtual {v0, v2}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;
a=0;// 
a=0;//     move-result-object v0
a=0;// 
a=0;//     .line 80
a=0;//     iget-object v2, p0, Lcom/vivame/mag/CatalogAdapter;->vmag:Lcom/vivame/mag/Vmag1;
a=0;// 
a=0;//     #v2=(Reference,Lcom/vivame/mag/Vmag1;);
a=0;//     iget v2, v2, Lcom/vivame/mag/Vmag1;->mCatalotFreeImgW:I
a=0;// 
a=0;//     .line 81
a=0;//     #v2=(Integer);
a=0;//     iget-object v3, p0, Lcom/vivame/mag/CatalogAdapter;->vmag:Lcom/vivame/mag/Vmag1;
a=0;// 
a=0;//     iget v3, v3, Lcom/vivame/mag/Vmag1;->mCatalotFreeImgH:I
a=0;// 
a=0;//     .line 80
a=0;//     #v3=(Integer);
a=0;//     invoke-static {v0, v2, v3}, Lcom/huawei/ireader/utils/ImageEngine;->zoomDrawable(Landroid/graphics/drawable/Drawable;II)Landroid/graphics/drawable/Drawable;
a=0;// 
a=0;//     move-result-object v0
a=0;// 
a=0;//     .line 83
a=0;//     invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->getMinimumWidth()I
a=0;// 
a=0;//     move-result v2
a=0;// 
a=0;//     invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->getMinimumHeight()I
a=0;// 
a=0;//     move-result v3
a=0;// 
a=0;//     invoke-virtual {v0, v6, v6, v2, v3}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V
a=0;// 
a=0;//     .line 84
a=0;//     invoke-virtual {v1, v5, v5, v0, v5}, Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V
a=0;// 
a=0;//     .line 91
a=0;//     :cond_0
a=0;//     :goto_2
a=0;//     #v3=(Conflicted);
a=0;//     return-object p2
a=0;// 
a=0;//     .line 45
a=0;//     :cond_1
a=0;//     #v0=(Integer);v1=(Byte);v2=(Byte);v3=(Uninit);v4=(One);
a=0;//     new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;
a=0;// 
a=0;//     #v0=(UninitRef,Landroid/widget/RelativeLayout$LayoutParams;);
a=0;//     iget-object v1, p0, Lcom/vivame/mag/CatalogAdapter;->vmag:Lcom/vivame/mag/Vmag1;
a=0;// 
a=0;//     #v1=(Reference,Lcom/vivame/mag/Vmag1;);
a=0;//     iget v1, v1, Lcom/vivame/mag/Vmag1;->catalogItemHeight:I
a=0;// 
a=0;//     #v1=(Integer);
a=0;//     invoke-direct {v0, v2, v1}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V
a=0;// 
a=0;//     #v0=(Reference,Landroid/widget/RelativeLayout$LayoutParams;);
a=0;//     goto/16 :goto_0
a=0;// 
a=0;//     .line 62
a=0;//     :cond_2
a=0;//     #v1=(Uninit);
a=0;//     invoke-virtual {p2}, Landroid/view/View;->getTag()Ljava/lang/Object;
a=0;// 
a=0;//     move-result-object v1
a=0;// 
a=0;//     #v1=(Reference,Ljava/lang/Object;);
a=0;//     check-cast v1, Landroid/widget/TextView;
a=0;// 
a=0;//     goto/16 :goto_1
a=0;// 
a=0;//     .line 86
a=0;//     :cond_3
a=0;//     #v2=(Boolean);v3=(Reference,[Z);v4=(Integer);
a=0;//     invoke-virtual {v1, v5, v5, v5, v5}, Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V
a=0;// 
a=0;//     goto :goto_2
a=0;// .end method
}}
